void generateError() {
  const dynamic x = 20;
  print(x.trim());
}

void generateErrorDelay(int delaySecond) {
  Future<void>.delayed(Duration(seconds: delaySecond), generateError);
}
